package com.hwz.mapper;

import com.hwz.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.Map;

@Mapper
public interface UserMapper {
    User getByOpenid(String openid);

    void insert(User user);

    User getById(Long userId);


    Integer countByCreateTimeBetween(Map map);
}
